<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{% block html_declare %}
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
{% endblock %}
	<head>
		<title> {% block title %} IOT-BSS {% endblock %} </title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <meta name="description" content="">
            <meta name="author" content="">
        <script src="{{STATIC_URL}}survey/js/jquery-1.4.2.min.js"></script>

            <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
            <!--[if lt IE 9]>
              <script src="{{STATIC_URL}}survey/js/html5.js"></script>
            <![endif]-->

            <!-- Le styles -->
        <link rel="stylesheet" href="{{STATIC_URL}}survey/css/bootstrap.min.css">
        <link rel="stylesheet" href="{{STATIC_URL}}survey/css/vote.css">
            <style type="text/css">
              body {
                padding-top: 60px;
              }
              .container-fluid {
                    margin: auto;
                    width: 940px;
                }
            </style>

            <!-- Le fav and touch icons -->
            <link rel="shortcut icon" href="images/favicon.ico">
            <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
            <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">

            <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
		{% block extra_header %}{% endblock %}
	</head>

	<body>

<div class="topbar">
      <div class="topbar-inner">
        <div class="container-fluid">
          <a class="brand" href="http://iot.insigma.com.cn/bbs/forum/life/">BBS</a>
        </div>
      </div>
    </div>

        {% block nonFooter %}
            <div class="container-fluid">
                  <div class="sidebar">
                    <div class="well">
                      <ul>

            <li><a href="{% url table_list %}">投票列表</a></li>
            <li><a href="{% url table_new %}">添加投票</a></li>

             </ul>
             </div>
             </div>


                {% block content %}
				<div class="content">

                        {% block form_body %}
                        {% endblock %}
				</div>
                {% endblock %}
		</div>
        {% endblock %}

		{% block footer %}
		<div id="footer">
        {% endblock %}

	</body>

{% block footer_js %}

{% endblock %}
</html>
